package cn.gd.mapper.LoginMapper;

import cn.gd.logging.RecordLog;
import cn.gd.pojo.Users;
import org.apache.ibatis.annotations.Param;

public interface LoginMapper {
    Integer queryUserLogin(@Param("userName") String userName,
                           @Param("password") String password);
    Users getUsers(@Param("userName") String userName,
                   @Param("password") String password);
    /**
     * 修改密码
     * @param userID
     * @param pwd
     * @return
     */
    @RecordLog(desc = "修改密码")
    int updatePassword(@Param("userID") Integer userID,@Param("pwd") String pwd);
}
